package com.wyh.repository;

import com.wyh.bean.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author wuyuhan
 * @date 2021/3/14 23:29
 */
public interface ResumeRepository extends MongoRepository<Resume,String> {
    List<Resume> findByNameEquals(String name);

    List<Resume>  findByNameAndExpectSalary(String name, double expectSalary);
}
